package com.wnnight.wys.serviceImpl.repairs;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wnnight.wys.entity.repairs.RepairsPlace;
import com.wnnight.wys.mapper.repairs.RepairsPlaceMapper;
import com.wnnight.wys.service.repairs.RepairsPlaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author rzh6230
 * 2022/8/27 19:05
 */
@Service
@Transactional
@SuppressWarnings("all")
public class RepairsPlaceServiceImpl extends ServiceImpl<RepairsPlaceMapper, RepairsPlace> implements RepairsPlaceService {
    @Autowired
    private RepairsPlaceMapper repairsPlaceMapper;
    @Override
    public List<RepairsPlace> getStaffPlace(int staffId) {
        return repairsPlaceMapper.selectByStaffId(staffId);
    }
}
